//
//  DestTabBarSectionModel.m
//  TravelEveryDay
//
//  Created by dlios on 15/10/15.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import "DestTabBarSectionModel.h"

@implementation DestTabBarSectionModel
#pragma mark - 编码

- (void)encodeWithCoder:(NSCoder *)aCoder {

    [aCoder encodeObject:self.title forKey:@"title"];
    [aCoder encodeBool:self.more forKey:@"more"];
    [aCoder encodeObject:self.index forKey:@"index"];

}
#pragma mark - 解码 读取
- (id)initWithCoder:(NSCoder *)aDecoder {
    if ([super init]) {
        self.title = [aDecoder decodeObjectForKey:@"title"];
        self.index = [aDecoder decodeObjectForKey:@"index"];
        self.more = [aDecoder decodeBoolForKey:@"more"];
    }
    return self;
}
@end
